<template>
  <div>
    child {{ title }}
    <Child2 :title="title2"></Child2>
  </div>
</template>

<script setup>
  import { toRef } from 'vue'
  import Child2 from './Child2.vue'
  const props = defineProps(['title', 'id'])
  const title2 = toRef(props, 'title')
</script>

<style lang="less" scoped>

</style>
